package com.zaker.touchtv.data;


import android.os.Parcel;
import android.os.Parcelable;

public class PushRtmpEntry implements Parcelable {

  private String key;

  private String site;

  @Override
  public int describeContents() {
    return 0;
  }

  @Override
  public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.key);
    dest.writeString(this.site);
  }

  public PushRtmpEntry() {
  }

  protected PushRtmpEntry(Parcel in) {
    this.key = in.readString();
    this.site = in.readString();
  }

  public static final Parcelable.Creator<PushRtmpEntry> CREATOR = new Parcelable.Creator<PushRtmpEntry>() {
    @Override
    public PushRtmpEntry createFromParcel(Parcel source) {
      return new PushRtmpEntry(source);
    }

    @Override
    public PushRtmpEntry[] newArray(int size) {
      return new PushRtmpEntry[size];
    }
  };

  public String getKey() {
    return key;
  }

  public String getSite() {
    return site;
  }
}
